package learn.cwebsitelearn.chapter8;

/**
 * @AUTHOR LYF
 * @DATE 2022/3/25
 * @VERSION 1.0
 * @DESC
 */
public class Demo1 {
    private String work = "警察";
    final char sex = '男';
    int age = 36;


    public Demo1(){

    }

    @Override
    protected void finalize() throws Throwable {
        System.out.println("进行清理工作...");
        super.finalize();
    }


}
